package com.example.demo1;

import com.esri.arcgis.geodatabase.IFeatureDataset;
import com.example.demo1.unit.ArcUnit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.IOException;
import java.util.List;

@SpringBootApplication
public class Demo1Application {

    public static void main(String[] args) {

        try {
            ArcUnit arcUnit = new ArcUnit();
            arcUnit.testMxd();
//            arcUnit.shpToSde();
//            List<String> list = arcUnit.getDataSetNameList();
//            IFeatureDataset dataset = arcUnit.getDataSetByName(list.get(0));
//            if (dataset != null) {
//                System.out.println("Hello");
//            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
